﻿/*
 *Author: Jeff Liu 
 *
 *Under MIT License
 *jebberwocky@gmail.com
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CtpGglPlaces.Impl
{
    public class AddressComponent
    {
        public String ShortName { set; get; }
        public String LongName { set; get; }
        public List<String> Types { set; get; }
    }

    public class PlaceDetailsObj
    {
        public PlaceDetailsObj()
        {
            Geometry = new Geometry();
        }

        public String Name { get; set; }
        public String Vicinity { get; set; }
        public List<String> Types { get; set; }
        public String FormattedPhoneNumber { get; set; }
        public String FormattedAddress { get; set; }
        public List<AddressComponent> AddressComponents { set; get; }
        public Geometry Geometry { get; set; }
        public double Rating { get; set; }
        public String Url { get; set; }
        public String Icon { get; set; }
        public String Reference { get; set; }
        public String Id { get; set; }
    }
}
